Skip to content

Derive Hash for EnumOrUnknown - #731

Open
idiomic wants to merge 1 commit into
stepancheg:masterfrom
idiomic:add_hash_derive
Open

Derive Hash for EnumOrUnknown#731
idiomic wants to merge 1 commit into
stepancheg:masterfrom
idiomic:add_hash_derive

Conversation

@idiomic

@idiomic idiomic commented Jul 3, 2024

Copy link
Copy Markdown

Since EnumOrUnknown does not have a protoc insertion point, additional derives cannot be added via the api. At the same time, EnumOrUnknown are simple values that are likely to be stored in a hash collection, such as a map or set. This single word commit adds the derive for the Hash trait to EnumOrUnknown.

Since EnumOrUnknown does not have a protoc insertion point, additional
derives cannot be added via the api. At the same time, EnumOrUnknown are
simple values that are likely to be stored in a hash collection, such as
a map or set. This single word commit adds the derive for the Hash trait
to EnumOrUnknown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant